﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        name: 'login',
        path: '/user/login',
        component: './user/Login',
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/welcome',
    name: 'welcome',
    icon: 'smile',
    access: 'normalRouteFilter',
    component: './Welcome',
  },
  {
    name: '角色管理',
    icon: 'table',
    path: '/roles-manage',
    access: 'normalRouteFilter',
    component: './rolesManage',
  },
  {
    name: '指标管理',
    icon: 'table',
    path: '/cloums-manage',
    access: 'normalRouteFilter',
    component: './CloumsList',
  },
  {
    name: '历史疫情',
    icon: 'table',
    path: '/history-billness',
    access: 'normalRouteFilter',
    component: './HistroyList',
  },
  {
    name: '用户管理',
    icon: 'user',
    path: '/user-manage',
    access: 'normalRouteFilter',
    component: './usersManage',
  },
  {
    name: '权限管理',
    icon: 'securityScan',
    path: '/auth-manage',
    access: 'normalRouteFilter',
    // component: './authManage',
    routes: [
      {
        path: '/auth-manage/menu-manage',
        name: '系统菜单管理',
        access: 'normalRouteFilter',
        component: './authManage/menuManage',
      },
      {
        component: './404',
      },
    ],
  },
  {
    name: 'dashboard',
    icon: 'user',
    path: '/dashboard',
    access: 'normalRouteFilter',
    component: './dashboard',
  },
  {
    path: '/',
    redirect: '/welcome',
  },
  {
    component: './404',
  },
];
